.class public Les/of0;
.super Les/nf0;
.source "ChangeThemeDialog.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/nf0;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic a(Les/of0;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/of0;->d()V

    return-void
.end method

.method private d()V
    .locals 3

    .line 1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Les/nf0;->a:Landroid/content/Context;

    const-class v2, Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 2
    invoke-virtual {p0}, Les/nf0;->b()Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    move-result-object v1

    invoke-virtual {v1}, Lcom/jecelyin/editor/v2/ui/JeEditorActivity;->finish()V

    .line 3
    iget-object v1, p0, Les/nf0;->a:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method


# virtual methods
.method protected bridge synthetic a()Lcom/jecelyin/common/widget/dialog/a$c;
    .locals 1

    .line 2
    invoke-virtual {p0}, Les/of0;->a()Lcom/jecelyin/common/widget/dialog/b;

    move-result-object v0

    return-object v0
.end method

.method protected a()Lcom/jecelyin/common/widget/dialog/b;
    .locals 2

    .line 3
    new-instance v0, Lcom/jecelyin/common/widget/dialog/b;

    iget-object v1, p0, Les/nf0;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/jecelyin/common/widget/dialog/b;-><init>(Landroid/content/Context;)V

    return-object v0
.end method

.method public c()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/nf0;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/jecelyin/editor/v2/d;->a(Landroid/content/Context;)Lcom/jecelyin/editor/v2/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/jecelyin/editor/v2/d;->k()I

    move-result v0

    .line 2
    sget-object v1, Lcom/jecelyin/editor/v2/q;->a:[Lcom/jecelyin/editor/v2/q$a;

    aget-object v1, v1, v0

    .line 3
    iget-boolean v1, v1, Lcom/jecelyin/editor/v2/q$a;->d:Z

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/jecelyin/editor/v2/b;->c()Z

    move-result v1

    if-nez v1, :cond_0

    const/4 v0, 0x0

    .line 4
    iget-object v1, p0, Les/nf0;->a:Landroid/content/Context;

    invoke-static {v1}, Lcom/jecelyin/editor/v2/d;->a(Landroid/content/Context;)Lcom/jecelyin/editor/v2/d;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/jecelyin/editor/v2/d;->b(I)V

    .line 5
    :cond_0
    invoke-virtual {p0}, Les/of0;->a()Lcom/jecelyin/common/widget/dialog/b;

    move-result-object v1

    sget-object v2, Lcom/jecelyin/editor/v2/q;->a:[Lcom/jecelyin/editor/v2/q$a;

    .line 6
    invoke-virtual {v1, v2, v0}, Lcom/jecelyin/common/widget/dialog/b;->a([Ljava/lang/Object;I)Lcom/jecelyin/common/widget/dialog/b;

    sget v0, Lcom/jecelyin/editor/v2/m;->je_change_theme:I

    .line 7
    invoke-virtual {v1, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->f(I)Lcom/jecelyin/common/widget/dialog/a$c;

    new-instance v0, Les/of0$a;

    invoke-direct {v0, p0}, Les/of0$a;-><init>(Les/of0;)V

    .line 8
    invoke-virtual {v1, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Lcom/jecelyin/common/widget/dialog/a$d;)Lcom/jecelyin/common/widget/dialog/a$c;

    .line 9
    invoke-virtual {v1}, Lcom/jecelyin/common/widget/dialog/a$c;->c()Lcom/jecelyin/common/widget/dialog/a;

    return-void
.end method
